package com.system.demo.entity.database;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("submitApplication")
public class SubmitApplication {

    @TableId(type = IdType.AUTO)
    private Integer id;
    //申请人学号
    private String uid;
    private String name;
    private String studentClass;
    //竞赛名称
    private String competitionName;
    //竞赛主办方
    private String competitionTutor;
    //竞赛时间
    private String competitionTime;
    //竞赛方式（线上or线下）
    private Integer participationMode;
    //竞赛地点
    private String competitionPosition;
    //参与方式（个人or团队）
    private Integer participantType;
    // 团队成员名字信息
    private String teamMembers;
    //团队顺位
    private Integer teamRank;
    //申请状态（0已提交 1已审批 2已结束 3已提交认定申请 4已审批认定申请）
    private Integer status;
    //创建时间（提交申请时间）
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
